package com.hd.pzhwlxt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hd.pzhwlxt.pojo.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
@create: 2022-09-22 11:15
@author: 怀念天空
@Description: 
*/

public interface GoodsMapper extends BaseMapper<Goods> {
    List<Goods> getAllGoodsAndPrice();

    Page<Goods> getAllGoodsAndPricePage(@Param("page") Page<Goods> page);

    Goods getGoodsById(@Param("id") Integer id);
}